package com.yswy.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.yswy.domain.common.BasePojo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("推广渠道配置子表")
@TableName(value = "tg_channle_child_code")
public class TgChannleChildCode{
    @TableId(type = IdType.AUTO)
    private Long codId;
    @ApiModelProperty("推广渠道ID")
    private Integer  tgChannleChildId;
    @ApiModelProperty("扣量比列")
    private Integer proportion;
    @ApiModelProperty("开始扣量时间")
    private String startTime;
    @ApiModelProperty("结束扣量时间")
    private String endTime;

    @ApiModelProperty("创建时间")
    private Date createTime = new Date();
    @ApiModelProperty("创建人")
    private Long createBy;
    @ApiModelProperty("更新时间")
    private Date updateTime;
    @ApiModelProperty("更新人")
    private Long updateBy;

}
